//
//  ViewController.m
//  AutoLayoutDemo
//
//  Created by zkx on 16/6/28.
//  Copyright © 2016年 zkx. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor redColor];
    
    UIButton *button = [[UIButton alloc]init];
    button.frame = CGRectMake(100, 100, 150, 150);
    button.backgroundColor = [UIColor orangeColor];
    [self.view addSubview:button];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
